package com.gms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gms.entity.user.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * mapper
 *
 * @since2021/5/30 15:11
 */
@Repository
public interface UserMapper extends BaseMapper<User> {
    User checkForDuplication(String aNumber);

    User login(String aNumber,String passWord);

    int register(User user);

    List<User> getAllUser();
}